from rest_framework.serializers import ModelSerializer
from region.models import Region, RegionPoint, RegionVehicle


class RegionSerializer(ModelSerializer):

    class Meta:
        model = Region
        fields = '__all__'


class RegionPointSerializer(ModelSerializer):

    class Meta:
        model = RegionPoint
        fields = '__all__'


class RegionVehicleSerializer(ModelSerializer):

    class Meta:
        model = RegionVehicle
        fields = '__all__'
